﻿   @model OreSystem.Entities.Level
              
   <div class="ftitle">添加二层信息</div>
   <script type="text/javascript">
       $(function () {
           $("#CreateDate").datetimebox();
        });
       
   </script>  
    @using (Html.BeginForm("Create","Leave",FormMethod.Post,new{@ID="fmlevel"}))
    {
        <div class="fitem">  
            <label>上层</label>
            @Html.DropDownListFor(m=>m.PID,new[]{new SelectListItem{ Text="顶层", Value="0", Selected=true}})               
        </div> 
        <div class="fitem">  
            <label>负责人:</label>
            @Html.TextBoxFor(m => m.Name, new { @class = "easyui-validatebox", required = "true" })             
        </div>        
        <div class="fitem">  
            <label>层编号:</label>  
            @Html.TextBoxFor(m => m.LevelNumber, new { @class = "easyui-validatebox", required = "true" })               
        </div>  
        <div class="fitem">  
            <label>添加日期:</label>
            @Html.TextBoxFor(m=>m.CreateDate)  
        </div>
        @Html.Hidden("Layer", ViewData["layer"]);
    } 


